//
//  Dog.m
//  TestSelector
//
//  Created by gzjd on 2017/12/10.
//  Copyright © 2017年 gzjd. All rights reserved.
//

#import "Dog.h"

@implementation Dog
@synthesize name=_name;
-(void)test:(NSString *) name setAge:(int)age{
    self->_name=name;
}
-(void)addTarget:(nullable id)target action:(SEL)action withObject:(NSString *)name{
    [target performSelector:action withObject:name];
}

@end
